import request from '@/utils/request'

// 菜单下拉框树列表Api
export function treeMenuList(params) {
  return request({
    url: '/menu/treeMenuList',
    method: 'post',
    data: params
  })
}

// 根据角色id查询相关菜单信息
export function getMenulistByRoleId(params) {
  return request({
    url: '/menu/' + params,
    method: 'get'
  })
}
